Additional notes and information about DTX2-4105C's installation and use.


I. Help file installation

The help file DTXHELP.TXT must be copied onto a microSD card in the root folder. From within MMBasic, the help 	can be invoked with the command HELP [keyword], or by pressing F1 in the editor.



II. USB driver installation (Windows users only)

When connected to a computer via USB, DTX2-4105C will appear as a serial port (COM) in the Ports section. It is recommended the supplied driver to be used instead of the default one, automatically installed by Windows. In order to do that run the Device Manager (type "mmc.exe devmgmt.msc" in the Run line), select Ports (COM & LPT) and double-click on the port, associated with the module. Then in the "Driver" tab select "Update Driver" and point to the file "mchpcdc.inf", supplied in this archive. Windows may ask for a confirmation during the installation.
Note there are two separate drivers for ICeemite with or without SD card installed.



III. Terminal software

A program called TeraTerm is recommended for connection with the module either via USB or a serial cable. No matter what the terminal software will be, the parameters set up for communication should always be the same as below:

Terminal type: VT100
Window size: 80 x 36 characters
(in TeraTerm untick the checkbox "term size = win size" and tick the the one "auto window resize")
Transmit delay msec/line: 50ms
For communication via serial port only: 115200, 8N1 protocol



IV. Firmware programming

Firmware in DTX2-4105C can be updated to include latest additions, patches and bugs fixed. This can be done in two ways.


1. By using a programmer such as PicKit3 or ICD3

There are dedicated PGD, PGC and ~RESET pins on the module. Connect them to a standard 5-pin header: 1:~RESET, 2:do not connect, 3:GND, 4:PGD, 5:PGC. Now the module can be programmed as every other PIC32 chip by uploading the HEX file supplied in this archive.

Another possibility is to use a TC2030-MCP-NL spring pin connector and the programming pads on the module. No other connections are needed in this case and the module can be programmed before installation in a system.

IMPORTANT: The programmer must be set up to supply power to the target.


2. By using the built-in bootloader (only in versions 4.4/R5 and above)

To activate the internal bootloader assert high the pin LDFW or press and hold the LDFW button (the one in the corner) and only then supply power to the module. The module will indicate it is in bootloader mode by constantly blinking the power LED. Voltage on LDFW pin must be removed and the LDFW button released after entering in bootloader mode.

Once the bootloader mode has been activated, run the file BOOTLOADER.EXE, load the supplied HEX file with firmware and program it into the device.

DTX2-4105C must be restarted after programming in order to resume normal operation with the new firmware.

